au BufNewFile,BufRead *.protocol set filetype=proto  
set noreadonly
set encoding=utf-8
set fileencodings=utf-8,gbk
set fileformat=unix
set nocompatible
set noincsearch
set nohlsearch
set ignorecase smartcase
set backspace=indent,eol,start
set autoindent
set cindent
set tabstop=4
set shiftwidth=4
set showmatch
set history=1000
set ruler
set showcmd
set nu
nmap <c-]> g<c-]> 

set path=/home/hegq/protocol
